package com.jxt.app.service;

import java.io.Serializable;
import java.util.List;

import com.jxt.app.util.Page;



public interface BaseService<T,K,DAO> {
	public T getModelById(long id);
	public int insertModel(T record);
	public int updateModel(K record);
	public int deleteModel(K record);
	public List<T> listModel(K example);
	public Page findListByExample(K inparam, int page, int num)
			throws Exception ;
}
